<include file="/public/header" />

<style>
    .layui-card-body {
        padding-left: 0;
    }
</style>
 
<div class="layui-fluid" >
    <form class="layui-form layui-form-fixed" >
        <div class="layui-card-body" >
            <gt name="$data.id" value="0"><input type="text" name="id" value="{$data.id}" hidden=""></gt>
            <div class="layui-form-item">
                <label class="layui-form-label">应用名称</label>
                <div class="layui-input-block">
                    <input type="text" name="title" autocomplete="off"  value="{$data.title}" class="layui-input" lay-verify="required">
                </div>
            </div> 
            <div class="layui-form-item">
                <label class="layui-form-label">应用LOGO</label>
		        <div class="layui-input-inline" style="width: 306px">
		            <input name="logo" type="text" class="layui-input pic" value="{$data.logo}"  lay-verify="required" />
		        </div>
		        <button type="button" class="layui-btn layui-btn-normal" lay-upload="pic" >{:__('上传图片')}</button>
            </div>  
            <div class="layui-form-item">
                <label class="layui-form-label">应用ID</label>
                <div class="layui-input-block">
                    <input type="text" name="app_id" value="{$data.app_id}" class="layui-input layui-disabled"  lay-verify="required" >
                </div>
            </div>  
            <div class="layui-form-item">
                <label class="layui-form-label">应用KEY</label>
                <div class="layui-input-block">
                    <input type="text" name="app_key" value="{$data.app_key}" class="layui-input layui-disabled"  lay-verify="required" >
                </div>
            </div>  
            <div class="layui-form-item">
                <label class="layui-form-label">应用描述</label>
                <div class="layui-input-block">
                <textarea name="content" id="content" cols="30" rows="10" style="min-height: 110px;"  
                	class="layui-textarea" lay-verify="required" >{$data.content}</textarea>
                </div>
            </div>
        </div>

        <div class="layui-footer" style="text-align: center;">
            <button class="layui-btn layui-btn-primary" type="button"  sa-event="closeDialog" >取消</button>
            <button class="layui-btn layui-btn-normal" lay-filter="submitIframe" type="button" lay-submit>提交</button>
        </div>
    </form>
</div>
<include file="/public/footer" />
